package com.igeekhome.mapper;

import com.igeekhome.pojo.DCommissionMaintenance;
import com.igeekhome.pojo.DCommissionMaintenanceExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DCommissionMaintenanceMapper {
    int countByExample(DCommissionMaintenanceExample example);

    int deleteByExample(DCommissionMaintenanceExample example);

    int deleteByPrimaryKey(Integer serialId);

    int insert(DCommissionMaintenance record);

    int insertSelective(DCommissionMaintenance record);

    List<DCommissionMaintenance> selectByExample(DCommissionMaintenanceExample example);

    DCommissionMaintenance selectByPrimaryKey(Integer serialId);

    int updateByExampleSelective(@Param("record") DCommissionMaintenance record, @Param("example") DCommissionMaintenanceExample example);

    int updateByExample(@Param("record") DCommissionMaintenance record, @Param("example") DCommissionMaintenanceExample example);

    int updateByPrimaryKeySelective(DCommissionMaintenance record);

    int updateByPrimaryKey(DCommissionMaintenance record);
}